package it.thalaz.common.action;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ActionContext;
import java.util.*;

public class LogoutAction extends ActionSupport {
  public String execute() throws Exception { 
    Map session = ActionContext.getContext().getSession();
    session.remove("user");
    session.remove("logged"); 
    return SUCCESS;
    }
}